#ifndef IDENTIFIIMG_H
#define IDENTIFIIMG_H

#include <opencv2/core/mat.hpp>


class IdentifiImg
{
public:
    IdentifiImg();
    void setImage(cv::Mat img);
    cv::Mat getImage();
    bool isEmpty();
    cv::Rect2d getRoi();
    void clear();
    void setRoi(int x, int y, int width, int height);
    void setRoi(cv::Rect2d rect);
private:
    cv::Rect2d roi_;
    cv::Mat img_;
};

#endif // IDENTIFIIMG_H
